package com.world.business.race.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.world.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * <p>
 * 种族表
 * </p>
 *
 * @author 邓驴
 * @since 2023-07-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Race对象", description = "种族表")
public class Race extends BaseEntity {

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("父id,默认值为0")
    private Long pid;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("主要分布地区")
    private String areaId;

    @ApiModelProperty("人口数量")
    private Long number;

    @ApiModelProperty("种族特性")
    private String character;

    @ApiModelProperty("特征描述")
    private String description;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("昵称")
    private String nickname;


}
